package twelfth.压缩流.解压缩;

import java.io.File;
import java.io.IOException;
import java.util.zip.ZipFile;

public class 实例化ZipFile对象 {
    public static void main(String[] args) throws IOException {
        File file = new File("D:\\WorkSpaces\\JavaDevelopBase_start_329\\src\\twelfth\\fakeDir.zip");
        ZipFile zipFile = new ZipFile(file);
        System.out.println("压缩文件名称为："+zipFile.getName());
    }
}
